package com.jumi.microservice.entity;

    import java.time.LocalDateTime;
    import java.io.Serializable;

    import com.baomidou.mybatisplus.annotation.IdType;
    import com.baomidou.mybatisplus.annotation.TableId;
    import com.fasterxml.jackson.annotation.JsonFormat;
    import com.jumi.microservice.enums.CommonEnum;
    import com.jumi.microservice.enums.SourceType;
    import io.swagger.annotations.ApiModel;
    import io.swagger.annotations.ApiModelProperty;

/**
* <p>
    * 用户邀请关系数据表
    * </p>
*
* @author 要挑客户管理团队
* @since 2020-08-05
*/
    @ApiModel(value="用户邀请关系", description="用户邀请关系")
public class JmUserInvite   {

    @TableId(value = "id", type = IdType.AUTO)
        private Integer id;

            @ApiModelProperty(value = "会员用户id")
    private Integer uid;

            @ApiModelProperty(value = "邀请者用户id")
    private Integer inviteUid;

            @ApiModelProperty(value = "来源类型：0-链接、二维码; 1-手动填写邀请码绑定; 2-数据洗入")
    private SourceType sourceType;

            @ApiModelProperty(value = "邀请码")
    private String inviteCode;

            @ApiModelProperty(value = "备注")
    private String backup;

            @ApiModelProperty(value = "0-未删除 1-已删除")
    private CommonEnum isDel;

            @ApiModelProperty(value = "更新时间")

    private LocalDateTime updateTime;

            @ApiModelProperty(value = "创建时间")

    private LocalDateTime createTime;

    private Long adminId;
    private String adminName;

    public Long getAdminId() {
        return adminId;
    }

    public void setAdminId(Long adminId) {
        this.adminId = adminId;
    }

    public String getAdminName() {
        return adminName;
    }

    public void setAdminName(String adminName) {
        this.adminName = adminName;
    }

    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }

    public Integer getInviteUid() {
        return inviteUid;
    }

    public void setInviteUid(Integer inviteUid) {
        this.inviteUid = inviteUid;
    }

    public SourceType getSourceType() {
        return sourceType;
    }

    public void setSourceType(SourceType sourceType) {
        this.sourceType = sourceType;
    }

    public String getInviteCode() {
        return inviteCode;
    }

    public void setInviteCode(String inviteCode) {
        this.inviteCode = inviteCode;
    }

    public String getBackup() {
        return backup;
    }

    public void setBackup(String backup) {
        this.backup = backup;
    }

    public CommonEnum getIsDel() {
        return isDel;
    }

    public void setIsDel(CommonEnum isDel) {
        this.isDel = isDel;
    }

    public LocalDateTime getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(LocalDateTime updateTime) {
        this.updateTime = updateTime;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }
}
